@charset "utf-8";

/* 公用样式 */

[class^="hisee"],
[class*=" hisee"] {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
  隐藏横向滚动条样式
  加父类名不影响下拉框的滚动条样式
*/
.main_scrollbar .el-scrollbar__wrap {
  overflow-x: hidden;
}

/* 分割线 */
hr {
  margin: 10px 0 15px;
  border: 0.5px solid #e8eaee;
}

/* 弹框显示隐藏动画 */
.el-dialog__wrapper {
  transition-duration: 0.6s;
}

.dialog-fade-enter-active {
  animation: none !important;
}

.dialog-fade-leave-active {
  transition-duration: 0.6s !important;
  animation: none !important;
}

.dialog-fade-enter-active .el-dialog,
.dialog-fade-leave-active .el-dialog {
  animation-fill-mode: forwards;
}

.dialog-fade-enter-active .el-dialog {
  animation-duration: 0.6s;
  animation-name: anim-open;
  animation-timing-function: cubic-bezier(0.6, 0, 0.4, 1);
}

.dialog-fade-leave-active .el-dialog {
  animation-duration: 0.6s;
  animation-name: anim-close;
}

@keyframes anim-open {
  0% {
    opacity: 0;
    transform: scale3d(0, 0, 1);
  }

  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes anim-close {
  0% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }

  100% {
    opacity: 0;
    transform: scale3d(0, 0, 1);
  }
}

// 超出出现省略号
// .ellipsisBox {
//   height: 48px;
//   line-height: 24px;
//   overflow: hidden;

//   .ellipsisText {
//     float: right;
//     width: 100%;
//     word-break: break-all;
//     margin-left: -5px;
//   }

//   &::before {
//     float: left;
//     width: 5px;
//     content: '';
//     height: 48px;
//     box-sizing: content-box;
//     -moz-box-sizing: content-box;
//     /* Firefox */
//     -webkit-box-sizing: content-box;
//     /* Safari */
//   }

//   &::after {
//     float: right;
//     content: "...";
//     font-size: 18px;
//     height: 28px;
//     line-height: 24px;
//     text-align: center;
//     /* 为三个省略号的宽度 */
//     width: 3em;
//     /* 使盒子不占位置 */
//     margin-left: -3em;
//     /* 移动省略号位置 */
//     position: relative;
//     left: 100%;
//     top: -28px;
//     padding-right: 5px;
//     /* 显示更好的效果 */
//     background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(white), color-stop(25%, white));
//     background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 25%, white);
//     background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 25%, white);
//     background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 25%, white);
//     background: linear-gradient(to right, rgba(255, 255, 255, 0), white 25%, white);
//     box-sizing: content-box;
//     -moz-box-sizing: content-box;
//     /* Firefox */
//     -webkit-box-sizing: content-box;
//     /* Safari */
//   }
// }

/* 文章详情通用字体 与 编辑器的默认样式需保持一致，保证详情效果一致*/
.commonArticalDetail {
  font-size: 16px;
  font-family: "Microsoft YaHei";
  line-height: 1.75;
  color: #333333;
  word-wrap: break-word;
  word-break: normal;

  p {
    margin: 0;
    line-height: 1.75;
    font-size: 16px;
    word-wrap: break-word;
    word-break: normal;
  }

  img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: auto;
  }

  video {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: auto;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: normal;
    line-height: 1.2;
  }

  blockquote {
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
  }

  .cke_contents_ltr blockquote {
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
  }

  .cke_contents_rtl blockquote {
    padding-left: 8px;
    padding-right: 20px;
    border-right-width: 5px;
  }

  a {
    color: #0782c1;
  }

  ol,
  ul,
  dl {
    /* IE7: reset rtl list margin. (#7334) */
    *margin-right: 0px;
    /* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
    padding: 0 40px;
  }

  hr {
    border: 0px;
    border-top: 1px solid #ccc;
  }

  img.right {
    border: 1px solid #ccc;
    float: right;
    margin-left: 15px;
    padding: 5px;
  }

  img.left {
    border: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    padding: 5px;
  }

  pre {
    white-space: pre-wrap;
    /* CSS 2.1 */
    word-wrap: break-word;
    /* IE7 */
    -moz-tab-size: 4;
    tab-size: 4;
  }

  .marker {
    background-color: Yellow;
  }

  span[lang] {
    font-style: italic;
  }

  figure {
    text-align: center;
    outline: solid 1px #ccc;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 10px 20px;
    display: inline-block;
  }

  figure > figcaption {
    text-align: center;
    display: block;
    /* For IE8 */
  }

  a > img {
    padding: 1px;
    margin: 1px;
    border: none;
    outline: 1px solid #0782c1;
  }

  /* Widget Styles */
  .code-featured {
    border: 5px solid red;
  }

  .math-featured {
    padding: 20px;
    box-shadow: 0 0 2px rgba(200, 0, 0, 1);
    background-color: rgba(255, 0, 0, 0.05);
    margin: 10px;
  }

  .image-clean {
    border: 0;
    background: none;
    padding: 0;
  }

  .image-clean > figcaption {
    font-size: 0.9em;
    text-align: right;
  }

  .image-grayscale {
    background-color: white;
    color: #666;
  }

  .image-grayscale img,
  img.image-grayscale {
    filter: grayscale(100%);
  }

  .embed-240p {
    max-width: 426px;
    max-height: 240px;
    margin: 0 auto;
  }

  .embed-360p {
    max-width: 640px;
    max-height: 360px;
    margin: 0 auto;
  }

  .embed-480p {
    max-width: 854px;
    max-height: 480px;
    margin: 0 auto;
  }

  .embed-720p {
    max-width: 1280px;
    max-height: 720px;
    margin: 0 auto;
  }

  .embed-1080p {
    max-width: 1920px;
    max-height: 1080px;
    margin: 0 auto;
  }
}

.commonFontStyle {
  font-size: 16px;
  font-family: "Microsoft YaHei";
  color: #333333;
  line-height: 1.75;
  word-wrap: break-word;
  word-break: normal;
}

/* 兼容ie-表格有时没能宽度100%的问题 */
// .el-table__header {
//   width: 100% !important;
// }

// .el-table__body {
//   width: 100% !important;

//   .el-table__empty-block {
//     width: 100% !important;
//   }
// }

.img-responsive {
  display: block;
  width: 100%;
}

.el-table td,
.el-table th {
  height: 40px;
  padding: 0 !important;
}
.el-table .cell {
  line-height: 1.4 !important;
}

/*文字提示透明度*/
.el-tooltip__popper.is-dark {
  background: rgba(0, 0, 0, 0.6);
  color: fff;
}
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow::after {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="left"] .popper__arrow::after {
  border-left-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="right"] .popper__arrow::after {
  border-right-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow::after {
  border-top-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="left"] .popper__arrow {
  border-left-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="right"] .popper__arrow {
  border-right-color: rgba(0, 0, 0, 0.3);
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow {
  border-top-color: rgba(0, 0, 0, 0.3);
}
.button-header {
  position: fixed;
  top: 78px;
  width: 100%;
  // height: 55px;
  height: auto;
  line-height: 33px;
  -webkit-box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  padding: 11px 20px;
  background: #fff;
  z-index: 9;
}

.button-header-form {
  margin-top: 20px;
  line-height: 24px;
  .el-form-item {
    margin-bottom: 0px !important;
  }
}

/* 图片预览关闭按钮样式 */
.el-image {
  .el-image-viewer__close {
    font-size: 45px;
    opacity: 1;
    .el-icon-circle-close:before {
      content: "\E79D";
      color: #fff;
    }
  }
}

/* 分页样式 */
.el-pagination .el-pager li {
  padding: 0 4px !important;
}

// 导航栏
.el-menu {
  border-right: solid 0px #e6e6e6;
}

/* 修改组织名称过长el-popover样式 */
// .node-label {
//   min-width: 100px;
// }

.tablePlatform {
  .platform-box {
    margin: 0 !important;
    .platform-item {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      .platform-item-text {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
      }
    }
    .channel-item {
      // max-width: 125px;
      margin-right: 10% !important;
      width: 40% !important;
      .channel-item-text {
        max-width: 105px;
        margin-right: 4px;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
      }
    }
  }
}

.platform {
  .platform-box {
    margin: 20px 0;
    box-sizing: border-box;
    .platform-item {
      color: #999 !important;
    }
    .channel-box {
      margin: 20px 0 10px 20px;
      padding: 0 10px;
      background-color: #f4f5f7;
      .channel-item {
        padding: 10px 0;
        margin-right: 3%;
        width: 22%;
        box-sizing: border-box;
        color: #c0c4cc;
        .channel-item-text {
          max-width: 112px;
          display: inline-block;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          vertical-align: bottom;
        }
        .channel-item-right {
          color: #6188f2;
        }
      }
      .channel-item:nth-child(3n) {
        margin-right: 0;
      }
    }
  }
  // 复选框选中
  .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
    background-color: #999 !important;
    border-color: #999 !important;
  }
}

.table-tooltip {
  border: 0 !important;
  box-shadow: 0px 4px 10px #dee6fb !important;
  width: 31% !important;
  max-width: inherit !important;
  padding: 0 !important;
  .tablePlatform {
    padding: 15px;
    max-height: 300px;
    overflow-y: scroll;
  }
  .popper__arrow {
    display: none;
  }

  // 优化滚动条样式
  ::-webkit-scrollbar {
    width: 6px !important;
    height: 6px;
  }

  ::-webkit-scrollbar-track-piece {
    background-color: #f0f2f5;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:vertical {
    height: 32px;
    background-color: rgba(144, 147, 153, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:horizontal {
    width: 32px;
    background-color: rgba(144, 147, 153, 0.3);
    border-radius: 4px;
  }
}
